package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.request.TripsQueryRequest;
import com.jia.train.seat.request.TripsSaveRequest;
import com.jia.train.seat.response.TripsQueryResponse;
import com.jia.train.seat.response.TripsSaveResponse;

import java.util.List;


public interface TripsService {
    
    TripsSaveResponse insert(TripsSaveRequest request);

    PageResponse<TripsQueryResponse> selectPage(TripsQueryRequest request);

    List<TripsQueryResponse> selectList();

    void deleteTrips(Long id);
    
}
